Skip to content

Comments

Bump @astrojs/rss from 1.2.1 to 2.2.0#66

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/astrojs/rss-2.2.0
Closed

Bump @astrojs/rss from 1.2.1 to 2.2.0#66
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/astrojs/rss-2.2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 2023

Bumps @astrojs/rss from 1.2.1 to 2.2.0.

Release notes

Sourced from @​astrojs/rss's releases.

@​astrojs/rss@​2.2.0

Minor Changes

@​astrojs/rss@​2.1.1

Patch Changes

Changelog

Sourced from @​astrojs/rss's changelog.

2.2.0

Minor Changes

2.1.1

Patch Changes

2.1.0

Minor Changes

  • #5851 81dce94f2 Thanks @​bholmesdev! - Update RSS config for readability and consistency with Astro 2.0.

    • Migration - import.meta.glob() handling

      We have deprecated items: import.meta.glob(...) handling in favor of a separate pagesGlobToRssItems() helper. This simplifies our items configuration option to accept a single type, without losing existing functionality.

      If you rely on our import.meta.glob() handling, we suggest adding the pagesGlobToRssItems() wrapper to your RSS config:

      // src/pages/rss.xml.js
      import rss, {
      +  pagesGlobToRssItems
      } from '@astrojs/rss';
      export function get(context) {
      return rss({
      
      items: pagesGlobToRssItems(
      import.meta.glob('./blog/*.{md,mdx}'),
      ),
      });
      }
  • New rssSchema for content collections

    @astrojs/rss now exposes an rssSchema for use with content collections. This ensures all RSS feed properties are present in your frontmatter:

    import { defineCollection } from 'astro:content';
    import { rssSchema } from '@astrojs/rss';
    const blog = defineCollection({
    schema: rssSchema,
    });

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@astrojs/rss](https://github.com/withastro/astro/tree/HEAD/packages/astro-rss) from 1.2.1 to 2.2.0.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro-rss/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/rss@2.2.0/packages/astro-rss)

---
updated-dependencies:
- dependency-name: "@astrojs/rss"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 13, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 20, 2023

Superseded by #73.

@dependabot dependabot bot closed this Mar 20, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/astrojs/rss-2.2.0 branch March 20, 2023 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants